define(['config/appregister',"i18n"],function(app,i18n){
   app.factory("validateUtils",function(){   		
        return {
        	getValidateArr:function(form){
            if(!angular.isObject(form)){
                return ;
            };
            var itemArr = [];
            for(var key in form ){
                if(key.indexOf("$")<0){
                    itemArr.push(key);
                }
            }
           return  itemArr;
        }
        }
        
  });
});